<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title>订单提交成功</title>
		<link rel="icon" href="./img/favicon.ico">
		
	
    <link rel="stylesheet" type="text/css" href="./css/all.css" />
    <link rel="stylesheet" type="text/css" href="./css/pages-paysuccess.css" />
</head>

	<body>
		<!--页面顶部-->
<div id="nav-bottom">
	<!--顶部-->
	<div class="nav-top">
		<div class="top">
			<div class="py-container">
				<div class="shortcut">
					<ul class="fl">
						<li class="f-item">欢迎您！</li>
						<li class="f-item">请<a href="login.html" target="_blank">登录</a>　<span><a href="register.html" target="_blank">免费注册</a></span></li>
					</ul>
					<div class="fr typelist">
						<ul class="types">
							<li class="f-item"><span>我的订单</span></li>
							
							<li class="f-item"><span><a href="cart.html" target="_blank">我的购物车</a></span></li>
							<li class="f-item"><span><a href="home.html" target="_blank">我的</a></span></li>			
							<li class="f-item"><span>会员</span></li>						
							<li class="f-item"><span>企业采购</span></li>						
							<li class="f-item"><span>关注</span></li>
							<li class="f-item"><span><a href="cooperation.html" target="_blank">合作招商</a></span></li>
							<li class="f-item"><span><a href="shoplogin.html" target="_blank">商家后台</a></span></li>				
							<li class="f-item"><span>网站导航</li>
						</ul>
					</div>
				</div>
			</div>
		</div>

		<!--头部-->
		<div class="header">
			<div class="py-container">
				<div class="yui3-g Logo">
					<div class="yui3-u Left logoArea">
						<a class="logo-bd" title="" href="index.html" target="_blank"></a>
					</div>
					<div class="yui3-u Rit searchArea">
						<div class="search">
							<form action="" class="sui-form form-inline">
								<!--searchAutoComplete-->
								<div class="input-append">
									<input type="text" id="autocomplete"   class="input-error input-xxlarge" />
									<button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
								</div>
							</form>
						</div>
					</div>
					
				</div>

			</div>
		</div>
	</div>
</div>

		<div class="cart py-container">
			<!--主内容-->
			<div class="paysuccess recharge">
				<div class="recharge">
                    
                    <div class="rechargeCon">
                        <h3>充值信息</h3>
                        <p><label>充值类型：</label><input type="radio" checked="checked"/> 话费充值</p>
                        <p><label>手机号码：</label><input type="text" class="inputInfo"/> <span class="col666">支持移动/联通/电信/极信</span></p>
                        <p><label>到账时间：</label><input type="radio" checked="checked"/> 1-10分钟</p>
                        <p>
                            <label>话费面值：</label>
                            <span class="textR">
                                <span class="Info" onclick="setPrice(10)"><em></em>10元</span>
                                <span class="Info" onclick="setPrice(20)"><em></em>20元</span>
                                <span class="Info" onclick="setPrice(30)"><em></em>30元</span>
                                <span class="Info" onclick="setPrice(50)"><em></em>50元</span>
                                <span class="Info on" onclick="setPrice(100)"><em></em>100元</span>
                                <span class="Info" onclick="setPrice(200)"><em></em>200元</span>
                                <span class="Info" onclick="setPrice(300)" ><em></em>300元</span>
                                <span class="Info" onclick="setPrice(500)"><em></em>500元</span>
                            </span>
                        </p>
                        <p><label>售价：</label><span class="fontSize">￥</span><span id="price" class="fontSize">99.8</span></p>
                    </div>
                </div>
                <div class="submit">
<!--                     <span><a href="/crtorder" target="_blank" >提交</a></span> -->
                   <a id="crtorder" href="" target="_blank"  onclick="return check();"> <button class="sui-btn btn-danger btn-submit">提交</button></a>
                </div>
			</div>
		</div>
		<!-- 底部栏位 -->
		<!--页面底部-->
<div class="clearfix footer">
	<div class="py-container">
		<div class="footlink">
			<div class="Mod-service">
				<ul class="Mod-Service-list">
					<li class="grid-service-item intro  intro1">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item  intro intro2">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item intro  intro3">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item  intro intro4">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item intro intro5">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
				</ul>
			</div>
			<div class="clearfix Mod-list">
				<div class="yui3-g">
					<div class="yui3-u-1-6">
						<h4>购物指南</h4>
						<ul class="unstyled">
							<li>购物流程</li>
							<li>会员介绍</li>
							<li>生活旅行/团购</li>
							<li>常见问题</li>
							<li>购物指南</li>
						</ul>

					</div>
					<div class="yui3-u-1-6">
						<h4>配送方式</h4>
						<ul class="unstyled">
							<li>上门自提</li>
							<li>211限时达</li>
							<li>配送服务查询</li>
							<li>配送费收取标准</li>
							<li>海外配送</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>支付方式</h4>
						<ul class="unstyled">
							<li>货到付款</li>
							<li>在线支付</li>
							<li>分期付款</li>
							<li>邮局汇款</li>
							<li>公司转账</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>售后服务</h4>
						<ul class="unstyled">
							<li>售后政策</li>
							<li>价格保护</li>
							<li>退款说明</li>
							<li>返修/退换货</li>
							<li>取消订单</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>特色服务</h4>
						<ul class="unstyled">
							<li>夺宝岛</li>
							<li>DIY装机</li>
							<li>延保服务</li>
							<li>品优购E卡</li>
							<li>品优购通信</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>帮助中心</h4>
						<img src="./img/wx_cz.jpg">
					</div>
				</div>
			</div>
			<div class="Mod-copyright">
				<ul class="helpLink">
					<li>关于我们<span class="space"></span></li>
					<li>联系我们<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>商家入驻<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们</li>
				</ul>
				<p>地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100</p>
				<p>京ICP备08001421号京公网安备110108007702</p>
			</div>
		</div>
	</div>
</div>
<!--页面底部END-->
<script type="text/javascript" src="./js/plugins/jquery/jquery.min.js"></script>	
	
<script>
$(function () {
    $(".textR .Info").click(function(){
    $(this).toggleClass("on").siblings().removeClass("on");	
  });
})

    var factPrice=99.8; //面值
	function setPrice(price){
		factPrice = price;
		switch(price)
		{
		    case 10:
		       $("#price").html("9.9");
		        break;
		    case 20:
		      $("#price").html("19.9");
		        break;
		    case 30:
		      $("#price").html("29.9");
		        break;
		    case 50:
		       $("#price").html("49.8");
		        break;
		    case 100:
		       $("#price").html("99.8");
		        break;
		    case 200:
		    	$("#price").html("198.8");
		        break;
		    case 300:
		    	$("#price").html("298.5");
		        break;
		    case 500:
		    	$("#price").html("495.5");
		        break;
		}
	}
	function check(){
	    var phone = $(".inputInfo").val();
	    if(phone==""||phone==null){
	    	alert("请填写手机号");
	    	return  false;
	    }
		var myreg=/^[1][3,4,5,7,8][0-9]{9}$/;
        if (!myreg.test(phone)) {
        	alert("手机号格式不正确");
            return false;
        } else {
        	//alert("change href=");
        	var href="/crtorder?mobile="+phone+"&pamt="+$("#price").html()+"&factPrice="+factPrice+"&brandId=789&categoryId=111";
        	//alert(href);
        	$("#crtorder").attr('href', href);
            return true;
        }
		return  false;
	}
</script>
</body>

</html>